package com.cim.service;

import com.cim.pojo.Account;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public interface AccountService {
    Account getAccount(String id);
    public Account getAccountByUserName(String userName);
    List<Account> findAccount(Account filter);
    int addAccounts(List<Account> accounts);
    String addAccount(Account account);
    int deleteAccount(String id);
    int updateAccount(Account account);
}
